package com.example.springboot_test.easyexcel.model.builder;

import lombok.Getter;

/**
 * sheet页范围信息构建器
 *
 * @author xudongmaster
 **/
@Getter
public abstract class SheetRangeModelBuilder extends SheetModelBuilder {
    /**
     * 开始行号
     */
    protected final int startRowIndex;
    /**
     * 结束行号
     */
    protected final int endRowIndex;
    /**
     * 开始列号
     */
    protected final int startColumnIndex;
    /**
     * 结束列号
     */
    protected final int endColumnIndex;
    protected SheetRangeModelBuilder(String sheetName, int startRowIndex, int endRowIndex, int startColumnIndex, int endColumnIndex) {
        super(sheetName);
        this.startRowIndex = startRowIndex;
        this.endRowIndex = endRowIndex;
        this.startColumnIndex = startColumnIndex;
        this.endColumnIndex = endColumnIndex;
    }
}
